﻿<%@page import="youleche.com.controler.controler.PageDataForBussinessControler"%>
<%@ page language="java" contentType="text/html;charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/WEB-INF/header.jsp" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>美乐车网-全国最大的车辆信息交易平台</title>
<link href="${ctx}/bootstrap-3.1.1-dist/css/bootstrap.min.css" rel="stylesheet"
	media="screen">
<link href="${ctx}/js/easyui/themes/default/easyui.css" rel="stylesheet"
	media="screen">
<link rel="stylesheet" type="text/css" href="${ctx}/bootstrap-select/bootstrap-select.min.css">
<link rel="stylesheet" type="text/css" href="${ctx}/css/release.css">
<link rel="stylesheet" type="text/css" href="${ctx}/css/home.css">
<script type="text/javascript" src="${ctx}/js/common/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="${ctx}/js/common/jquery.cookie.js"></script>
<script type="text/javascript" src="${ctx}/js/common/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${ctx}/layer/layer.js"></script>
<script type="text/javascript" src="${ctx}/bootstrap-select/bootstrap-select.min.js"></script>
<script src="${ctx}/bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${ctx}/js/region.js"></script>
<script type="text/javascript" src="${ctx}/js/fix.js"></script>
</head>
<body>
			<%@include file="top.jsp" %>
			<%@include file="nav.jsp" %>
		<div
			style="margin-left: auto; margin-right: auto; width: 1000px; height: 30px; margin-top: 5px;"
			class="step">
			<div class="step1">
				<div class="step1_img">
					<img src="image/next.png" />
				</div>
				<div class="step1_desc" style="background-color: #F6F3F3;">
					1.填写信息</div>
			</div>
			<div class="step2">
				<div class="step2_img">
					<img src="image/next_b.png" />
				</div>
				<div class="step2_desc" style="background-color: #F6F3F3;">
					2.确认用户</div>
			</div>
			<div class="step3">
				<div class="step3_img">
					<img src="image/next_b.png" />
				</div>
				<div class="step3_desc" style="background-color: #F6F3F3;">
					3.发布成功</div>
				<div class="step3_img1">
					<img src="image/success.png" style="display: none;" />
				</div>
			</div>
		</div>
		<div
			style="margin-left: auto;height:auto; margin-right: auto; width: 1000px; display: block;"
			id="div_info" >
			<div
				style="color:#72b088;float: left; width: 1000px; height: 30px; line-height: 40px; font-size: 14px;">
				<div style="float:left;">说明：该功能只能是商家使用，如果你是用户，需要成为商家才能使用。(<a href="sj.jsp" style="color:red;">成为商家</a>)&nbsp;&nbsp;&nbsp;&nbsp;<a href="list.jsp">发布其他信息</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
				
			</div>
			<div
				style="float: left; width: 1000px; height: 30px; line-height: 40px; font-size: 14px; color: #978679;">
				备注: <span
					style="margin: 5px 5px 0px 5px; height: 25px; color: #72b088; font-weight: bold; font-size: 18px; vertical-align: middle;">*</span>为必填项 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a style="cursor:pointer;" onclick="autoWrite();">自动填写部分内容</a>
			</div>
			
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						店铺名称</div>
					<div class="common_desc"
						style="float: left; width: 350px; height: 50px; vertical-align: middle;">
						<input id="txt_Dianpu" name="input" type="text" class="txt_xiaoqu" />
					</div>
					<div id="divWarnDianpu" style="float: left; width: 450px; height: 50px; vertical-align: middle;color:#f60;">
						
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						店铺位置</div>
					<div class="common_desc"
						style="float: left; width: 710px; height: 50px; vertical-align: middle;">
						<div style="float:left;">
						<span style="padding-right: 45px;"></span>
						<select id="sel_Province"  name="sel_Province" style="width:auto;height:30px;">
						</select> 
						<select id="sel_City" name="sel_City" style="width:auto;height:30px;">
						</select> 
						<select id="sel_County" name="sel_County" style="width:auto;height:30px;">
						</select>
						</div>
						<div style="float:left;">
						 <input  name="input"  id="addressAttach" type="text" class="txt_address" style="margin-top:5px;"/>
						 </div>
					</div>
					<div id="tipaddressAttach" style="float: left; width: 200px; height: 50px; vertical-align: middle;color:#f60;">
						
					</div>
					
				</div>
			</div>
			
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px;padding-top:8px; height: 42px; vertical-align: middle;text-align: right;">
						是否上门</div>
					<div class="zengsong"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;padding-top:10px;">
						<span style="margin:0px 0px 0px 30px;"></span>
						<input checked="checked" style="margin: 0px 15px 15px 15px;" id="chk0fw" value="0" type="checkbox" style="margin: 05px 15px 15px 15px;" />上门服务
						<input type="checkbox" value="1" id="chk1fw" style="margin: 0px 15px 15px 15px;" />不上门服务
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						营业时间</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;padding-top:10px;">
						<span style="margin:0px 0px 0px 30px;"></span>
						<input style="margin: 0px 15px 15px 15px;" id="chk0" value="0" type="checkbox" style="margin: 05px 15px 15px 15px;" />全选
						<input type="checkbox" value="1" id="chk1" style="margin: 0px 15px 15px 15px;"/>周一
						<input type="checkbox" value="1" id="chk2" style="margin: 0px 15px 15px 15px;"/>周二
						<input type="checkbox"  id="chk3" value="2" style="margin: 0px 15px 15px 15px;"/>周三
						<input type="checkbox" id="chk4" value="3" style="margin: 0px 15px 15px 15px;"/>周四
						<input type="checkbox" style="margin: 0px 15px 15px 15px;" id="chk5" value="4"/>周五
						<input type="checkbox" style="margin: 0px 15px 15px 15px;" id="chk6" value="4"/>周六
						<input type="checkbox" style="margin: 0px 15px 15px 15px;" id="chk7" value="4"a/>周日
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; margin-top:10px;line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						联系人</div>
					<div class="common_desc"
						style="float: left; width: 350px; height: 50px; vertical-align: middle;">
						<span style="margin-left: 45px;"></span> <input name="input"  id="txtlinkMan"
							type="text" class="txt_address"  maxlength="11"  />
					</div>
					<div id="tiplinkMan" style="float: left; width: 450px; height: 50px; vertical-align: middle;color:#f60;">
						
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						联系电话</div>
					<div class="common_desc"
						style="float: left; width: 350px; height: 50px; vertical-align: middle;">
						<span style="margin-left: 45px;"></span> <input
							id="txtlinkPhoneNum" onkeyup="value=value.replace(/[^\d\-]/g,'');" maxlength="12"  name="input"  type="text" class="txt_address" />
					</div>
					<div id="tiplinkPhoneNum" style="float: left; width: 450px; height: 50px; vertical-align: middle;color:#f60;">
						
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;">
						
						<span style="margin-left: 45px;"></span>
						<a style="cursor:pointer;" onclick="teachMe();">教我写信息标题和售后内容描述</a>
					</div>
				</div>
			</div>
			<div
				style="float: left; width: 1000px; height: 50px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						信息标题</div>
					<div class="common_desc"
						style="float: left; width: 610px; height: 50px; vertical-align: middle;">
						<input id="infoTitle" name="input" type="text" class="txt_title" />
					</div>
					<div style="float:left;width:250px;color:#f60;" id="tipinfoTitle"></div>
				</div>
			</div>
			
			<div
				style="float: left; width: 1000px; height: 250px; line-height: 25px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
					*</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
						售后内容描述</div>
					<div class="common_desc"
						style="float: left; width: 610px; height: 50px; vertical-align: middle;">
						<span style="margin-left: 45px;"></span>
						
						<textarea id="fixDescrible"
							style="width: 560px; height: 250px; border: 1px solid #ccc;"></textarea>
					</div>
					<div style="float:left;width:250px;color:#f60;" id="tipfixDescrible"></div>
				</div>
			</div>
			
			<div
				style="float: left; width: 1000px; height: 100px; line-height: 40px; font-size: 14px; color: #978679;">
				<div
					style="margin: 0px 5px 0px 5px; height: 50px; color: #72b088; font-weight: bold; font-size: 14px; vertical-align: middle; float: left;">
				</div>
				<div>
					<div
						style="float: left; width: 60px; height: 50px; text-align: right;">
					</div>
					<div class="common_desc"
						style="float: left; width: 800px; height: 50px; vertical-align: middle;">
						<span style="margin-left: 45px;"></span> <input  name="input"  type="button"
							value="确认并发布" class="btn_fabu" onclick="confirmAndSubmit();" />
					</div>
				</div>
			</div>


		</div>
		<div
			style="margin-left: auto; margin-right: auto;min-height:600px; width: 1000px; display: none;"
			id="div_email">
			<div
				style="margin-left: auto; margin-right: auto; width: 800px; height: 300px; text-align: right;">
				<div
					style="float:left;margin-left: auto; margin-right: auto; width: 500px; height: 50px; float: left; margin-top: 30px;">
					用户名：<input  name="input"  id="email" type="text" value=""
						class="txt_ok_email"   placeholder="邮箱/手机号/用户名" />
				</div>
				<div style="float:right;padding-top:30px;width:300px;height:50px;margin-top: 30px;text-align:left;" id="tipUser"></div>
				<div
					style="float:left;margin-left: auto; margin-right: auto; width: 500px; height: 50px; float: left; margin-top: 20px;">

					密 码：<input  name="input"  id="password" type="password" value=""
						class="txt_ok_email"  placeholder="请输入密码" />
					
				</div>
				<div style="float:right;width:300px;height:50px;margin-top: 20px;text-align:left;padding-top:30px;" id="tipPass"></div>
				<div
					style="margin-left: auto; margin-right: auto; width: 500px; height: 50px; float: left; margin-top: 20px;">
					<input type="button" value="上一步" class="btn_fabu1"
						onclick="prefixStep();" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="button" value="立即发布" class="btn_fabu1"
						onclick="commerSubmit();" />
				</div>
			</div>
		</div>
		<div
			style="margin-left: auto; margin-right: auto; width: 1000px; display: none;"
			id="div_success">
			<div
				style="margin-left: auto; margin-right: auto; width: 500px; height: 500px; text-align: center;">
				<div
					style="margin-left: auto; margin-right: auto; width: 500px; height: 250px; float: left; margin-top: 30px; text-align: center;">
					<img src="image/ok_fabu.jpg" />
				</div>
				<div
					style="margin-left: auto; margin-right: auto; width: 500px; height: 50px; float: left; margin-top: 20px; color: #777; font-size: 20px;">
					恭喜你，修理信息发布成功~~</div>
				<div
					style="margin-left: auto; margin-right: auto; width: 500px; height: 50px; float: left; margin-top: 20px;">
					<input type="button" value="查看信息" class="btn_fabu_end" /> 
					<input
						type="button" value="返回首页" class="btn_fabu_end"
						onclick="returnHome();" />
					<input
						type="button" value="返回修理信息" class="btn_fabu_end"
						onclick="returnFix();" />
				</div>
			</div>
		</div>
		<%@include file="foot.jsp" %>

</body>
</html>
